<!--
 * @title:
 * @Description:
 * @Author: JZT.饶慧勇
 * @Date: 2025-05-29 10:46:36
 * @LastEditors: JZT.饶慧勇
 * @LastEditTime: 2025-05-30 15:00:16
-->
<script lang="ts" setup>
import { useTheme } from '@/composables/theme/theme';

defineOptions({
  options: {
    addGlobalClass: true,
    virtualHost: true,
    styleIsolation: 'shared'
  }
});

const { themeVars, theme } = useTheme();
</script>

<template>
  <wd-config-provider :theme-vars="themeVars" :theme="theme" custom-style="min-height: 100vh">
    <slot />
    <wd-notify />
    <wd-toast />
    <wd-message-box />
    <privacy-popup />
  </wd-config-provider>
</template>
